import request from '@/utils/request'

export default {
  getAllSubject() {
    return request({
      url: `/eduservice/subject/getAllSubject`,
      method: 'get',
    })
  },
  getSubject(parentId){
    return request({
      url: `/eduservice/subject/list/${parentId}`,
      method: 'get'
    })
  }

}
